using namespace System;
using namespace System::Windows::Forms;

namespace Generic=System::Collections::Generic;

namespace TSquare {
	using namespace System::Drawing;

	public ref class TSquare : public Control {

		PointF ^p1;
		PointF ^p2;

		Generic::List<Wall^> ^walls;
	protected:
		virtual void OnPaint(PaintEventArgs ^e) override;
		virtual void OnMouseDown(MouseEventArgs ^e) override;
		virtual void OnMouseMove(MouseEventArgs ^e) override;

	public:
		TSquare();
	};
}